﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core
{
    public class Parity
    {
        private string par;

        public Parity(string par)
        {
            this.par = par;
        }

        public bool IsOdd(int i)
        {
            return par[i] == 'o';
        }

        public bool IsEven(int i)
        {
            return par[i] == 'e';
        }
    }
}
